package com.acquisition.param.domain;

/**
 * 单个摄像头参数
 *
 * @author wuqiwei
 * @date 2021/09/04
 */
public class SingleCameraParam {

    /**
     * ip
     */
    private String ip;

    /**
     * 端口
     */
    private Integer port;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 类型：0-海康，1-大华
     */
    private Integer type;

    public SingleCameraParam() {
        super();
    }

    public SingleCameraParam(String ip, Integer port, String username, String password, Integer type) {
        super();
        this.ip = ip;
        this.port = port;
        this.username = username;
        this.password = password;
        this.type = type;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SingleCameraParam [ip=" + ip + ", port=" + port + ", username=" + username + ", password=" + password
                + ", type=" + type + "]";
    }

}
